package cn.wgx.common.entity.mind;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@TableName("mind_group")
public class MindGroup extends MindBaseEntity implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer group_id;

    @NotNull
    private Integer pro_id;

    @NotNull
    private Integer channel_id;

    private Integer block_id;

    @NotBlank
    private String title;

    private String tags;

    private Integer sort;

    private Integer indax;

    private Double x;
    private Double y;

}